home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_200 / 210_01 / kittylnt.doc < prev    next >
Text File  |  1985-11-13  |  2KB  |  30 lines

  1.                      DOCUMENTATION FOR KITTYLNT
  2.  
  3. Dan Schechter
  4. Route 1 Box 19
  5. Amenia, North Dakota 58004
  6. (701) 967-8371
  7.  
  8.      Basically  these  programs  (except for  the  already  compiled 
  9. KITTYLNT.COM) are self-documented.  That is,  they contain extensive 
  10. comments imbedded in the source code, as well as long introductions.
  11.      KITTYLNT.C   and  KITTYLNT.C88  are  very  slightly   different 
  12. versions  of the same program.  KITTYLNT.C compiles,  as  is,  under 
  13. Aztec  C  II  v1.06D  and runs on my Kaypro  2X  running  CP/M  2.2. 
  14. KITTYLNT.C88 is the same program, modified to compile under Eco-C88. 
  15. It  compiles  as  is,  and runs on my SWP Co-Power  Plus.  (An  8088 
  16. coprocessor board running MS-DOS.)
  17.      The program is a poor-man's "lint" program. It looks for errors 
  18. in  C  source code.  And it finds plenty of  them  for  me,  perhaps 
  19. because I am a careless typist.
  20.      It  is good at finding unbalanced brackets and  quotes.  Pretty 
  21. good  at checking for semicolons at the ends of lines,  and checking 
  22. to  see  that  "for" loops have the right number  of  arguments  and 
  23. printf() statements have the same number of conversion arguments  as 
  24. conversion  characters.  It  makes a brave stab at checking to  make 
  25. sure that function declarations don't have a semicolon after then.
  26.      It cannot find such things as type inconsistencies,  undeclared 
  27. variables,  or  wrong  number of arguments  in  function  calls.  It 
  28. generates some spurious errors, and misses some errors. But it still 
  29. saves me lots of programming time. I am rather pleased with it.uch things as type inconsistencies,  undeclared 
  30. variable